package io.renren.modules.seller.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.seller.entity.GoodsEntity;
import io.renren.modules.seller.entity.PageResult;
import io.renren.modules.seller.group.Goods;

import java.util.Map;

/**
 * @author Mark 15373178086@163.com
 * @date 2020-02-16 11:30:55
 */
public interface GoodsService extends IService<GoodsEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageResult findPage(Map<String, Object> params);

    void deleteByIds(Long[] ids);

    Goods findOne(Long id);

    PageResult findPage(GoodsEntity goods, String page, String rows);

    void update(Goods goods);

    void add(Goods goods);

    void updateStatus(Long[] ids, String status);
}

